package com.woniuxy.oldmanapi.service;

import com.woniuxy.oldmanapi.entity.Manager;
import com.woniuxy.oldmanapi.mapper.ManagerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerService {
    @Autowired
    ManagerMapper managerMapper;
    public Manager login(String username) {
        return managerMapper.selectManagerByName(username);
    }
}
